package com.bk.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    /**
     * 用户状态 0禁用 1启用
     */
    public static final Integer BAN_USER = 0;
    public static final Integer START_USER = 1;
    //用户id
    private Long id;
    //用户名
    private String username;
    //密码
    private String password;
    //头像
    private String image;
    //邮箱
    private String email;
    //电话
    private String phone;
    //性别
    private String sex;

    //账号状态  0禁用 1启用
    private Integer status;

    //注册时间
    private LocalDateTime createTime;


}
